import http from "@/api/http.js";

//登录
export const doLogin = (captcha_code, blogUser) => {
    return http.requestPost('/user/login/' + captcha_code + '?from=P_', blogUser);
};

//获取当前登录的用户
export const getLoginUser = () => {
    return http.requestGet("/user/login-user");
};
